package com.agadmin.manage.vo.request.software;

import com.agadmin.api.ServiceEnumApi;
import com.agadmin.config.mateConfig.Meta;
import com.agadmin.request.BaseRequest;
import jakarta.validation.constraints.NotNull;
import lombok.extern.slf4j.Slf4j;

@Slf4j
@Meta(cmd= ServiceEnumApi.SOFTWARE,path="softwareAddManage")
public class SoftwareAddRequest extends BaseRequest {

    @NotNull(message = "software name can't be null")
    private String softwareName;

    @NotNull(message = "expireDate name can't be null")
    private Long expireDate;

    private String description;

    private Integer userId;

    @Override
    public Integer getUserId() {
        return userId;
    }

    @Override
    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getSoftwareName() {
        return softwareName;
    }

    public void setSoftwareName(String softwareName) {
        this.softwareName = softwareName;
    }

    public Long getExpireDate() {
        return expireDate;
    }

    public void setExpireDate(Long expireDate) {
        this.expireDate = expireDate;
    }
}
